package com.yuxin.service;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.yuxin.vo.City;

@FeignClient(value = "SERVICE-CITY")
public interface CityService {

    @RequestMapping(value = "/cities", method = RequestMethod.GET)
    List<City> cities();


}